import RouterBase from './router-base'
import RouterOthers from './router-other'
import RouterHft from './router-hft'
import RouterLogin from './router-login'
import RouterUniversity from './router-university'
import RouterEnroll from './router-enroll'
import RouterCourse from './router-course'
import RouterExam from './router-exam'
import RouterEvaluation from './router-evaluationl'
import RouterOrganization from './router-organization'
import RouterCharts from './router-charts'
import {SiteDirectory} from '../repo/env/Constants'

Vue.use(VueRouter)

const router = new VueRouter({
  mode: 'history',
  base: '/web-hft-ee/',
  routes: [
    ...RouterBase,
    ...RouterLogin,
    ...RouterOthers,
    ...RouterCourse,
    ...RouterExam,
    ...RouterEvaluation,
    ...RouterUniversity,
    ...RouterEnroll,
    ...RouterOrganization,
    ...RouterCharts,
    ...RouterHft,
    {
      path: '*', redirect: '/'
    },
  ]
})

export default router
